<?php

namespace App\Http\Resources;

use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;

class SeasonResource extends JsonResource
{
    public function toArray(Request $request): array
    {
        return [
            'season_id' => $this->id,
            'title' => $this->title,
            'cover' => $this->cover_url,
            'pictures' => $this->picture_urls,
            'audio' => $this->audio_url,
            'content' => $this->content,
        ];
    }
}
